package com.jinxi.sign.mode.single.test;

import com.jinxi.sign.mode.single.LazySingleton;

public class ThreadExecutor implements Runnable{


    public void run() {

        //1、饿汉模式

        //2、懒汉模式
        LazySingleton singleton = LazySingleton.getInstance();
        System.out.println(singleton);

    }
}
